<?php $action_url = My_URL::app_url("user/edit");?>
<form enctype='multipart/form-data' action="<?php echo $action_url;?>" method=POST>
<div>Upload Profile pic:<input type="file" name='pic'></div>
<input type="submit" value="upload">
<a href="#" onClick="javascript:$.ajax({url:'<?php echo $skip_url?>',
	success:function(){location.reload();}
});">skip</a>
</form>